<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Open SCA: ORB_Wrap Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.onetek.net"><img alt="Logo" src="openscaLogo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Open SCA
   &#160;<span id="projectnumber">Version 0.6.0</span>
   </div>
   <div id="projectbrief">Open SCA</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classopensca_support_1_1_o_r_b___wrap.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="classopensca_support_1_1_o_r_b___wrap-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ORB_Wrap Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The ORB class wrap basic option for orb such as orb_init/get_POA/get_NamingContext/bind/unbind and so on.  
 <a href="classopensca_support_1_1_o_r_b___wrap.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="opensca_support_8h_source.html">openscaSupport.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a801da41eed2f330a3304d0cb5386bc60"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a801da41eed2f330a3304d0cb5386bc60">ORB_Wrap</a> ()</td></tr>
<tr class="separator:a801da41eed2f330a3304d0cb5386bc60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a30ae396134abd8c16e95f6420f7c31"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a7a30ae396134abd8c16e95f6420f7c31">ORB_Wrap</a> (int argc, char *argv[])</td></tr>
<tr class="separator:a7a30ae396134abd8c16e95f6420f7c31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9538c283f0412de969ecd750f42ca81f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a9538c283f0412de969ecd750f42ca81f">~ORB_Wrap</a> ()</td></tr>
<tr class="separator:a9538c283f0412de969ecd750f42ca81f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac715b6ebcd53dd4a7c8702e8b8b10080"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#ac715b6ebcd53dd4a7c8702e8b8b10080">bind_object_to_string</a> (CORBA::Object_ptr <a class="el" href="_device_manager__server_8cpp.html#a37d32c387df502eb564e8d72008f40fa">obj</a>, const CosNaming::NamingContext_ptr nc, const char *name)</td></tr>
<tr class="memdesc:ac715b6ebcd53dd4a7c8702e8b8b10080"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation shall bind object to string in specified naming context.  <a href="#ac715b6ebcd53dd4a7c8702e8b8b10080">More...</a><br /></td></tr>
<tr class="separator:ac715b6ebcd53dd4a7c8702e8b8b10080"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08f7a059fac7ef3bc31d3c7e4556aafa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a08f7a059fac7ef3bc31d3c7e4556aafa">bind_object_to_string</a> (CORBA::Object_ptr <a class="el" href="_device_manager__server_8cpp.html#a37d32c387df502eb564e8d72008f40fa">obj</a>, const char *name)</td></tr>
<tr class="memdesc:a08f7a059fac7ef3bc31d3c7e4556aafa"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation shall bind object to string in specified naming context.  <a href="#a08f7a059fac7ef3bc31d3c7e4556aafa">More...</a><br /></td></tr>
<tr class="separator:a08f7a059fac7ef3bc31d3c7e4556aafa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00d49c1a8b22d59e47fbb247cfa12ed0"><td class="memItemLeft" align="right" valign="top">CORBA::Object_ptr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a00d49c1a8b22d59e47fbb247cfa12ed0">get_object_from_string</a> (const CosNaming::NamingContext_ptr nc, const char *name)</td></tr>
<tr class="memdesc:a00d49c1a8b22d59e47fbb247cfa12ed0"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation shall return object ref by string from specified naming context.  <a href="#a00d49c1a8b22d59e47fbb247cfa12ed0">More...</a><br /></td></tr>
<tr class="separator:a00d49c1a8b22d59e47fbb247cfa12ed0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab17d7e04d688926cff30a530671ad16b"><td class="memItemLeft" align="right" valign="top">CORBA::Object_ptr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#ab17d7e04d688926cff30a530671ad16b">get_object_from_string</a> (const char *name)</td></tr>
<tr class="memdesc:ab17d7e04d688926cff30a530671ad16b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation shall return object ref by string from specified naming context.  <a href="#ab17d7e04d688926cff30a530671ad16b">More...</a><br /></td></tr>
<tr class="separator:ab17d7e04d688926cff30a530671ad16b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab249cad40eec6cee318b52bb9743266a"><td class="memItemLeft" align="right" valign="top">CosNaming::Name_var&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#ab249cad40eec6cee318b52bb9743266a">string_to_CosName</a> (const char *name)</td></tr>
<tr class="memdesc:ab249cad40eec6cee318b52bb9743266a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation shall convert string to CosNaming::Name.  <a href="#ab249cad40eec6cee318b52bb9743266a">More...</a><br /></td></tr>
<tr class="separator:ab249cad40eec6cee318b52bb9743266a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca815f37d97bd257faadd1fbc9dbf933"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#aca815f37d97bd257faadd1fbc9dbf933">unbind_string</a> (const CosNaming::NamingContext_ptr nc, const char *name)</td></tr>
<tr class="memdesc:aca815f37d97bd257faadd1fbc9dbf933"><td class="mdescLeft">&#160;</td><td class="mdescRight">unbind name(convert string) from specified naming context  <a href="#aca815f37d97bd257faadd1fbc9dbf933">More...</a><br /></td></tr>
<tr class="separator:aca815f37d97bd257faadd1fbc9dbf933"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e676ad7bbf756db326f3e7ad5beb1d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a9e676ad7bbf756db326f3e7ad5beb1d2">unbind_string</a> (const char *name)</td></tr>
<tr class="memdesc:a9e676ad7bbf756db326f3e7ad5beb1d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">unbind name(convert string) from naming context  <a href="#a9e676ad7bbf756db326f3e7ad5beb1d2">More...</a><br /></td></tr>
<tr class="separator:a9e676ad7bbf756db326f3e7ad5beb1d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8c35240ec1cb716ce7c94ddf4ab51e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#ac8c35240ec1cb716ce7c94ddf4ab51e6">bind_new_context_with_string</a> (const char *name)</td></tr>
<tr class="memdesc:ac8c35240ec1cb716ce7c94ddf4ab51e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The operation shall bind the name to naming service, when a new object created, if the object wants to bind on the naming service, then shall call this operation.  <a href="#ac8c35240ec1cb716ce7c94ddf4ab51e6">More...</a><br /></td></tr>
<tr class="separator:ac8c35240ec1cb716ce7c94ddf4ab51e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96d2ad17d8659d719a6631ce0cfc8b85"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a96d2ad17d8659d719a6631ce0cfc8b85">destory_context</a> (const CosNaming::NamingContext_ptr nc)</td></tr>
<tr class="memdesc:a96d2ad17d8659d719a6631ce0cfc8b85"><td class="mdescLeft">&#160;</td><td class="mdescRight">destory NamingContext nc  <a href="#a96d2ad17d8659d719a6631ce0cfc8b85">More...</a><br /></td></tr>
<tr class="separator:a96d2ad17d8659d719a6631ce0cfc8b85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec11bc22a847d7f1f9e6083c7d73b646"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#aec11bc22a847d7f1f9e6083c7d73b646">object_to_ior</a> (CORBA::Object_ptr <a class="el" href="_device_manager__server_8cpp.html#a37d32c387df502eb564e8d72008f40fa">obj</a>)</td></tr>
<tr class="memdesc:aec11bc22a847d7f1f9e6083c7d73b646"><td class="mdescLeft">&#160;</td><td class="mdescRight">convert object reference to ior  <a href="#aec11bc22a847d7f1f9e6083c7d73b646">More...</a><br /></td></tr>
<tr class="separator:aec11bc22a847d7f1f9e6083c7d73b646"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1edaa20e54bdd9f750fab2ad485995c1"><td class="memItemLeft" align="right" valign="top">CORBA::Object_ptr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a1edaa20e54bdd9f750fab2ad485995c1">ior_to_object</a> (const char *<a class="el" href="_device_manager__server_8cpp.html#ad2e5f07860965b8f3668a500d484926d">ior</a>)</td></tr>
<tr class="memdesc:a1edaa20e54bdd9f750fab2ad485995c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">convert ior to object  <a href="#a1edaa20e54bdd9f750fab2ad485995c1">More...</a><br /></td></tr>
<tr class="separator:a1edaa20e54bdd9f750fab2ad485995c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a2af925cb306eedf522c0a8e1f530c35c"><td class="memItemLeft" align="right" valign="top">static CosNaming::NamingContext_var&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a2af925cb306eedf522c0a8e1f530c35c">naming_cntx</a></td></tr>
<tr class="memdesc:a2af925cb306eedf522c0a8e1f530c35c"><td class="mdescLeft">&#160;</td><td class="mdescRight">it's static variable, provides access to naming context for multiple classes.  <a href="#a2af925cb306eedf522c0a8e1f530c35c">More...</a><br /></td></tr>
<tr class="separator:a2af925cb306eedf522c0a8e1f530c35c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d594d2eaf36cfe48ce232927e621b0b"><td class="memItemLeft" align="right" valign="top">static CORBA::ORB_var&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a3d594d2eaf36cfe48ce232927e621b0b">orb</a></td></tr>
<tr class="memdesc:a3d594d2eaf36cfe48ce232927e621b0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">it's static variable, provides access to orb for multiple classes.  <a href="#a3d594d2eaf36cfe48ce232927e621b0b">More...</a><br /></td></tr>
<tr class="separator:a3d594d2eaf36cfe48ce232927e621b0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a355c0c890f0e17eb8e03386a8e4de708"><td class="memItemLeft" align="right" valign="top">static PortableServer::POAManager_var&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a355c0c890f0e17eb8e03386a8e4de708">pman</a></td></tr>
<tr class="memdesc:a355c0c890f0e17eb8e03386a8e4de708"><td class="mdescLeft">&#160;</td><td class="mdescRight">it's static variable, provides access to poa manager for multiple classes.  <a href="#a355c0c890f0e17eb8e03386a8e4de708">More...</a><br /></td></tr>
<tr class="separator:a355c0c890f0e17eb8e03386a8e4de708"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c579edb41dee5fbff428a0ae7341f97"><td class="memItemLeft" align="right" valign="top">static PortableServer::POA_var&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a9c579edb41dee5fbff428a0ae7341f97">poa</a></td></tr>
<tr class="memdesc:a9c579edb41dee5fbff428a0ae7341f97"><td class="mdescLeft">&#160;</td><td class="mdescRight">it's static variable, provides access to poa for multiple classes.  <a href="#a9c579edb41dee5fbff428a0ae7341f97">More...</a><br /></td></tr>
<tr class="separator:a9c579edb41dee5fbff428a0ae7341f97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a723879970538c2a1fea61f77ab979c07"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a723879970538c2a1fea61f77ab979c07">checkConfigInfo</a> (<a class="el" href="class_config_parser.html">ConfigParser</a> *<a class="el" href="_domain_manager__server_8cpp.html#a4edd73f527ab08df5052a34ec4324e40">configParser</a>, const char *item)</td></tr>
<tr class="separator:a723879970538c2a1fea61f77ab979c07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dd7f816b80551023dd55e31041565a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a4dd7f816b80551023dd55e31041565a1">getNamingServiceIor</a> ()</td></tr>
<tr class="separator:a4dd7f816b80551023dd55e31041565a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02fd73d861ef2e4aabb38c0c9ff82947"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a02fd73d861ef2e4aabb38c0c9ff82947">init</a> ()</td></tr>
<tr class="memdesc:a02fd73d861ef2e4aabb38c0c9ff82947"><td class="mdescLeft">&#160;</td><td class="mdescRight">resolve reference to POA, and activate poa manager.resolve reference to NamingContext  <a href="#a02fd73d861ef2e4aabb38c0c9ff82947">More...</a><br /></td></tr>
<tr class="separator:a02fd73d861ef2e4aabb38c0c9ff82947"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a3eede9c030f6d9294117c7a4482bcb4d"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a3eede9c030f6d9294117c7a4482bcb4d">m_namingServiceIor</a></td></tr>
<tr class="separator:a3eede9c030f6d9294117c7a4482bcb4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:a5f7125c9559029707084dba3ed62e892"><td class="memItemLeft" align="right" valign="top">static unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html#a5f7125c9559029707084dba3ed62e892">ref_cnt</a></td></tr>
<tr class="memdesc:a5f7125c9559029707084dba3ed62e892"><td class="mdescLeft">&#160;</td><td class="mdescRight">Count the number of the orb_wrap class instances.  <a href="#a5f7125c9559029707084dba3ed62e892">More...</a><br /></td></tr>
<tr class="separator:a5f7125c9559029707084dba3ed62e892"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The ORB class wrap basic option for orb such as orb_init/get_POA/get_NamingContext/bind/unbind and so on. </p>
<p>addtionally, the class provides access to orb, poa, namingContext object. </p>

<p>Definition at line <a class="el" href="opensca_support_8h_source.html#l00044">44</a> of file <a class="el" href="opensca_support_8h_source.html">openscaSupport.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a801da41eed2f330a3304d0cb5386bc60"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html">ORB_Wrap</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a7a30ae396134abd8c16e95f6420f7c31"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html">ORB_Wrap</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>argv</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9538c283f0412de969ecd750f42ca81f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="classopensca_support_1_1_o_r_b___wrap.html">ORB_Wrap</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ac8c35240ec1cb716ce7c94ddf4ab51e6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool bind_new_context_with_string </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation shall bind the name to naming service, when a new object created, if the object wants to bind on the naming service, then shall call this operation. </p>

</div>
</div>
<a class="anchor" id="ac715b6ebcd53dd4a7c8702e8b8b10080"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void bind_object_to_string </td>
          <td>(</td>
          <td class="paramtype">CORBA::Object_ptr&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const CosNaming::NamingContext_ptr&#160;</td>
          <td class="paramname"><em>nc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation shall bind object to string in specified naming context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">obj</td><td>Object needs bound. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nc</td><td>On which naming context the object binds. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>Name of the object context. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a08f7a059fac7ef3bc31d3c7e4556aafa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool bind_object_to_string </td>
          <td>(</td>
          <td class="paramtype">CORBA::Object_ptr&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation shall bind object to string in specified naming context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">obj</td><td>Object needs bound. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>Name of the object context. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a723879970538c2a1fea61f77ab979c07"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char* checkConfigInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_config_parser.html">ConfigParser</a> *&#160;</td>
          <td class="paramname"><em>configParser</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>item</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a96d2ad17d8659d719a6631ce0cfc8b85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void destory_context </td>
          <td>(</td>
          <td class="paramtype">const CosNaming::NamingContext_ptr&#160;</td>
          <td class="paramname"><em>nc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>destory NamingContext nc </p>

</div>
</div>
<a class="anchor" id="a00d49c1a8b22d59e47fbb247cfa12ed0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CORBA::Object_ptr get_object_from_string </td>
          <td>(</td>
          <td class="paramtype">const CosNaming::NamingContext_ptr&#160;</td>
          <td class="paramname"><em>nc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation shall return object ref by string from specified naming context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nc</td><td>Naming context on which the object bind. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>Name of the object context.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Object reference bound with specific name. </dd></dl>

</div>
</div>
<a class="anchor" id="ab17d7e04d688926cff30a530671ad16b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CORBA::Object_ptr get_object_from_string </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation shall return object ref by string from specified naming context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>Name of the object context.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Object reference bound with specific name. </dd></dl>

</div>
</div>
<a class="anchor" id="a4dd7f816b80551023dd55e31041565a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void getNamingServiceIor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a02fd73d861ef2e4aabb38c0c9ff82947"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>resolve reference to POA, and activate poa manager.resolve reference to NamingContext </p>

</div>
</div>
<a class="anchor" id="a1edaa20e54bdd9f750fab2ad485995c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CORBA::Object_ptr ior_to_object </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>ior</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>convert ior to object </p>
<dl class="section note"><dt>Note</dt><dd>this routine maybe throw exception from internal interface, so calling function should try/catch unkonwn exception </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ior</td><td>IOR of a object </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">the</td><td>object reference </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aec11bc22a847d7f1f9e6083c7d73b646"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* object_to_ior </td>
          <td>(</td>
          <td class="paramtype">CORBA::Object_ptr&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>convert object reference to ior </p>
<dl class="section note"><dt>Note</dt><dd>this routine myebe throw exception from internal interface, so calling function should try/catch unkonwn exception </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">obj</td><td>object reference </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">a</td><td>string of ior </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab249cad40eec6cee318b52bb9743266a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CosNaming::Name_var string_to_CosName </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The operation shall convert string to CosNaming::Name. </p>

</div>
</div>
<a class="anchor" id="aca815f37d97bd257faadd1fbc9dbf933"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void unbind_string </td>
          <td>(</td>
          <td class="paramtype">const CosNaming::NamingContext_ptr&#160;</td>
          <td class="paramname"><em>nc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>unbind name(convert string) from specified naming context </p>

</div>
</div>
<a class="anchor" id="a9e676ad7bbf756db326f3e7ad5beb1d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void unbind_string </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>unbind name(convert string) from naming context </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a3eede9c030f6d9294117c7a4482bcb4d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string m_namingServiceIor</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="opensca_support_8h_source.html#l00195">195</a> of file <a class="el" href="opensca_support_8h_source.html">openscaSupport.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2af925cb306eedf522c0a8e1f530c35c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CosNaming::NamingContext_var naming_cntx</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>it's static variable, provides access to naming context for multiple classes. </p>

<p>Definition at line <a class="el" href="opensca_support_8h_source.html#l00050">50</a> of file <a class="el" href="opensca_support_8h_source.html">openscaSupport.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3d594d2eaf36cfe48ce232927e621b0b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CORBA::ORB_var orb</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>it's static variable, provides access to orb for multiple classes. </p>

<p>Definition at line <a class="el" href="opensca_support_8h_source.html#l00055">55</a> of file <a class="el" href="opensca_support_8h_source.html">openscaSupport.h</a>.</p>

</div>
</div>
<a class="anchor" id="a355c0c890f0e17eb8e03386a8e4de708"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PortableServer::POAManager_var pman</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>it's static variable, provides access to poa manager for multiple classes. </p>

<p>Definition at line <a class="el" href="opensca_support_8h_source.html#l00061">61</a> of file <a class="el" href="opensca_support_8h_source.html">openscaSupport.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9c579edb41dee5fbff428a0ae7341f97"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PortableServer::POA_var poa</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>it's static variable, provides access to poa for multiple classes. </p>

<p>Definition at line <a class="el" href="opensca_support_8h_source.html#l00066">66</a> of file <a class="el" href="opensca_support_8h_source.html">openscaSupport.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5f7125c9559029707084dba3ed62e892"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int ref_cnt</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Count the number of the orb_wrap class instances. </p>
<p>When ref_cnt is equal to zero, then destroy orb. </p>

<p>Definition at line <a class="el" href="opensca_support_8h_source.html#l00194">194</a> of file <a class="el" href="opensca_support_8h_source.html">openscaSupport.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>runtime_env/orb_al/include/<a class="el" href="opensca_support_8h_source.html">openscaSupport.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceopensca_support.html">openscaSupport</a></li><li class="navelem"><a class="el" href="classopensca_support_1_1_o_r_b___wrap.html">ORB_Wrap</a></li>
    <li class="footer">Generated on Fri Jul 12 2019 14:31:55 for
    <a href="http://www.onetek.net">
    <img class="footer" src="openscaLogo.png" height="31" alt="openSCA"/></a>
    </li>
  </ul>
</div>
</body>
</html>
